package test03.multiple.appenders;

import org.apache.log4j.Logger;
import org.apache.log4j.PropertyConfigurator;

public class Log4jDiscovery {
	private static final Logger logger = Logger.getLogger(Log4jDiscovery.class);

	public static void main(String[] args) {
		PropertyConfigurator.configure("C:/Documents and Settings/"
				+ "Bozhidar Bozhanov/Desktop/installs/eclipse2/"
				+ "workspace/test-logging/src/test03/multiple/"
				+ "appenders/resources/log4j.properties");

		logger.trace(" TRACE message");
		logger.debug(" DEBUG message");
		logger.info(" INFO message");
		logger.warn(" WARN message");
		logger.error(" ERROR message");
		logger.fatal("Фатално съобщение на BG");
	}
}
